#pragma once
#include <QString>
#include <QSettings>
#include <memory>
//工具类
namespace mediaUtils
{
	//音频播放器
	class soundPlayer {


	};
}

namespace DataUtils
{
	//保存软件配置
	class saveSoftwareConfig {
	public:
		saveSoftwareConfig();
		~saveSoftwareConfig();
	public:
		void simpleSaveConfig(const QString& key, const QString& value);
		QVariant findSaveConfig(const QString& key);

	private:
		std::shared_ptr<QSettings> settings;

	};
}
class toolBox
{
public:
	static toolBox& getInstance();
	toolBox(const toolBox&) = delete;
	void operator=(const toolBox&) = delete;
	~toolBox();

public:
	DataUtils::saveSoftwareConfig softwareConfiger;
	mediaUtils::soundPlayer soundPlayer;
private:
	toolBox() = default;
private:


};

